[HVM][VMX] Enable VMX TPR shadow feature.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 30 Oct 2006 10:42:27 +0000 (10:42 +0000)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 30 Oct 2006 10:42:27 +0000 (10:42 +0000)
commit30c8005e6ecce51d0f1b72c799bdcd7f876d7be3
treec4a20869c65673fc29e6bd44278ef8bb35081b90
parenta75394cc817130ef7dc8d37318c73a08ac3219cc
[HVM][VMX] Enable VMX TPR shadow feature.

x64 Windows uses CR8 to access TPR very frequently. This patch enables
TPR shadow and allows mov-from/to-CR8 to access it directly; tests
indicates it can boost greatly the performance of x64 Windows 2003.

Signed-off-by: Eddie Dong <eddie.dong@intel.com>
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
xen/arch/x86/hvm/vlapic.c
xen/arch/x86/hvm/vmx/io.c
xen/arch/x86/hvm/vmx/vmcs.c
xen/arch/x86/hvm/vmx/vmx.c
xen/include/asm-x86/hvm/vlapic.h